﻿using MyMES.Error;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyMES.Domain.zmc
{
    /// <summary>
    /// 到货通知单
    /// </summary>
    public class Arrivalnotice
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int NoticeId { get; set; }

        /// <summary>
        /// 到货通知单编号
        /// </summary>
        public string NoticeNo { get; set; }
        /// <summary>
        /// 采购到货通知单名称
        /// </summary>
        public string NoticeName { get; set; }
 
        /// <summary>
        /// 采购订单编号--外键
        /// </summary>
        public int StoragePurchaseId { get; set; }
     

        /// <summary>
        /// 供应商  外键
        /// </summary>
        public int SupplierId { get; set; }
        /// <summary>
        /// 到货日期
        /// </summary>
        public DateTime Deliverydate { get; set; }= DateTime.Now;

        /// <summary>
        /// 联系人
        /// </summary>
        public string Contacts { get; set; }
        /// <summary>
        /// 联系发式
        /// </summary>
        public string Contactway { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Contactremark { get; set; }

        /// <summary>
        ///到货数量
        /// </summary>
        public int NoticeNumber { get; set; }

        /// <summary>
        /// 是否检验
        /// </summary>
        public bool IsInspecs { get; set; }

        /// <summary>
        /// 合格数量
        /// </summary>
        public int QualifiedNum { get; set; }

        /// <summary>
        /// 检验单号
        /// </summary>
        public string InspecNumber { get; set; }

        /// <summary>
        /// 物料产品管理
        /// </summary>
        public int MId { get; set; }

        
    }
}
